﻿module Sustainalytics.EsgRatings.Admin {

    export interface IWeightMatricesService {

        //uploadWeightMatrix(dataFile: ArrayBuffer, fileName: string, contentType: string): ng.IPromise<{}>;
        listScheduledWeightMatricesByAccountId(accountId: string): ng.IPromise<WeightMatrix[]>;
        listWeightMatricesByAccountId(accountId: string, isFocusedRatings : boolean): ng.IPromise<WeightMatrix[]>;
        getMatricesSlotsPerPlatform(): ng.IPromise<number>;
        updateCustomWeightMatrix(matrix: WeightMatrix): ng.IPromise<WeightMatrix>;
        deleteCustomWeightMatrix(id: string): ng.IPromise<any>;
    }
}  